make mongo auth configurable