Fixed detection of expired cached token. Fixes #18

As mentioned in issue #18, the detection of cached token expiration is wrong such that the login web page is shown every time rather than waiting until the token is expired.

This simple change corrects the date comparison logic