Add docs for NewAuthorizedTransportWithCache.
Add tests.