cluster: perform auth after isMaster for sharded clusters.