Removed authentication clause from mongo commands if the user name or password were not provided