Automatically refresh OAuth2 token when it has expired.
Merge pull request #168 from geekman/master

Automatically refresh OAuth2 token when it has expired