added isExpired token unit tests; changed name of expiration timeout env var