Added tests for oauthlib flow

Tests for the authorization, approval process, and the authorization token
exchange to ensure that it will function properly with oauthclient.
https://github.com/idan/oauthlib/