update test_client for login process