Implemented OAuth, two methods that use it, and tests for new methods.