NOJIRA: Fixed oauth test failures that resulted from using the incorrect class when registering oauth services. Also put together a test suite for oauth.