logging in; single httpclient