Cached authorization provider

- Added support for caching authorization data.