SERVER-10818 properly check auth for index write batches