Updated test_login (still not working right)