Basic auth and http request