Reworked auth flow, no need to re-auth on every login, fixed #22