unbricking the login flow