Only use mongo authentication if we have a username and passwordWq