Api64 auth to httpclient

Switched to using oauth library's http client to automatically wrap requess with the appropriate auth headers.  Also added a few tests surrounded auth headers in general.
I would also check that `lastError` is exactly the error string you expect