When constructing the shell prompt we call replSetGetStatus which is an Admin command. This should not be a requirement so we need to swap in isMaster for it.
This spams the destination server and causes an inconsistent prompt.
Users will see the error "command denied:
{ replSetGetStatus: 1.0, forShell: 1.0 }" in their log until they have authenticated with a role that allows replSetGetStatus.