Add oauth interfaces, classes and tests.