Fix oauth cookie parsing bug.
Merge pull request #65 from af/master

Bugfix