OAuth 2 cope handling tests.
Outline of upcoming oauth 2 tests.
Python 3 import fix.