fix login_test