adapting tests to new login flow