Support for refreshing access tokens.
Refactor repetitive token methods.