checking for cached token expiration