fixing test for login