SERVER-7455 Common internal cluster auth function