Separate file for auth and fix for servers with multiple mongo instances