Fixed detection of expired cached token. Fixes #18
Merge pull request #23 from MarkerMetro/FixTokenExpiration

Fixed detection of expired cached token. Fixes #18