Revert "[BUGFIX] Inaccessible pages on shortcuts/PageNotFound handler"

This introduced a regression. It turns out that it needs more work
to get all cases covered correctly.

Resolves: #58728
Reverts: #16472
Releases: 6.1, 6.2, 6.3

This reverts commit 203c1eb9d1c621726be57268619b7b48ffbffeb6

Change-Id: I469461a042f37757daafbf23d27a73ad236fcb50
Reviewed-on: https://review.typo3.org/31041
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel