TestClient: fix LOGINs being sent unencrypted