New user with just anonymous role will get 403 Forbidden upon logon to / (redirected to /hosts)
If new user is created with no roles (so I assume it just has anonymous), by default upon logon they get redirected to /hosts and they will see
You are not authorized to perform this action
Please request the required privileges from a foreman administrator
What's more, the HTTP status of this page is 403, which breaks tests.
I believe Foreman should not auto-redirect users to pages they are not able to see. The page /bookmarks works fine.