I take this back. mongo -u root -p root will connect to the localhost and use admin as the authentication database and use the test db.

mongo -u root -p root test will connect to localhost and use test as the db and the authentication.

That is correct. I’m a little stumped, if the only thing you change is the --auth flag. And auth is working on the when on the mongod host.