Set auth header, rather than append it to url
Fix typos in array name
Merge pull request #18 from rogerhutchings/interceptor

Better http requests