My issue was that my authSource= value was wrong. The admin db did not have system.users collection. Another developer was working on it. He moved the collection to another db. I discovered this issue by looking at the MongoDB log and comparing with my old MongoDB server.