Adjusted to recent changes to auth project.

Also:

- Removed more dead code.
- Corrected authenticating demo user in the background to be able to switch sessions.
- "Use your own" keys will redirect to auth page when user haven't authorised prior.
- Hiding "Sign in" button when logged in.