Support for refresh tokens and a token store.

Support for refresh tokens and a token store.