Implements OAuth both server and client side (bug 905806)
Merge pull request #21 from davidbgk/905806-3-adding-oauth

Implements OAuth both server and client side (bug 905806)