Added support for refreshing access token using a refresh token.