Expanded unit test to cover sharing to a public user from a private tenant. Also added some documentation in the authz API.