A loose collection of functions to help with oauth.