Fixes a login issue

fixes an issue where logging into the same domain multiple times without
killing the app will not prompt the user for username and password.