Using MONGO_AUTH on the mongo/dump commands