Added token expiration checks.