make sure to define username when connecting to the replicaset