Improvements in OAuth2
Changed token generation algorithm
Merge pull request #173 from guestisp/master

Pull request to sync the code