The public share authentication middleware only allowed to open existing documents the /app/new route was missing. Fixes #8691 (cherry picked from commit 8d5a0c6dd8)
8d5a0c6dd8