Added token expiry validation utilities.