Use Basic auth instead of Bearer when authenticating with Oauth

This fixes the issue in #21