fixed login tests.