[oauth2] Remove debug print.
[oauth2] Redirect code shouldn't be hard-coded.
[oauth2] Adding tests.
[oauth2] Adding package documentation.