improve login/logout UX
This PR improves login/logout:
- user is redirected to the requested page after login
- unauthenticated users requesting a private page are redirected directly to the auth provider login page when local accounts are disabled
- one-click logout: user is not redirected to a separate logout page and stays on the same page after logout
- fix a redirection bug it the JobList view