fixed login_test