Fixed launch main app even when login failed. Also fixed inability to make further login attempts after one failed attempt.