factor rate-limit error code to dynamic value
fix theoretical bug in key cache
segment size tweak; update tests; initial test support for remote services
don't commit user's testing refresh tokens for remote services
test update; code coverage update