fixed a login bug where authenticated users could be presented with the login screen.