OAUTH helper methods

Created two new utility methods for OAUTH, left the one for client-side auth, and then added one for the server authorization, and then server authentication.

I think I also fixed a few more of the API calls to be POST where they were still GET.