Added code to allow refresh tokens to generate new access tokens.