don't schedule token refreshs in testing env, closes #181