Added more tests for login.