Logged in users are redirected to the /restricted page when going to the base endpoint