Revert "Return unauthorized error if encountered on any shard"

This reverts commit 3d328101396bb5d8fa4a6ebe48f4366eaeb23c23.
Return unauthorized error if encountered on any shard

Hot upgrade friendly version