add test login with HttpClient