Steps to reproduce:
Create a space with a viewport
Restrict the space so that user A can view it, but not anonymous users
Copy the link of the Confluence view of the home page
Go to the copied link from step 4
A login screen appears, login as user A
User ends up on the Confluence view from step 4.
User ends up on the Viewport view of the page.
the background to this is: We use Scroll Viewport for a (private) master space with Scroll Versions. Most authors and editors use their bookmarks to get to the master space or directly to pages of the include library. If they want to use them now, they not only see the viewport view, but also get the 404 error message, because the include library is under the root page. We would be grateful if this bug could be fixed soon.