Support replication sets when authentication is enabled