Fixed unit test to log in.