SERVER-1891 Consolidate command authorization checking logic.
SERVER-7174: fix pullall unit test