fixed login tests