Use HTTP basic auth with the API.