added api key auth to httpclient