Get basic login/logout flow working