Added support for offline access tokens.