Implement the oAuthAuthenticate function

The function implements the /oauth/authenticate to allow logins with always asking for authorization.
Merge pull request #9 from danoc/master

Implement oAuthAuthenticate function