Revert "SERVER-7455 Common internal cluster auth function"

Broke auth C++ unit tests

This reverts commit 00fb45cd97d2314548dc07c2c8e1cc1737fd273f.