fixes for getting mongo auth working again