Fixes for replicaset auth