Working Bearer option with tests.
Merge pull request #109 from chrism/oauth2-bearer

Working Bearer option with tests.