Fixed problem with token expiry time being before start time.