SERVER-14170 Do not invoke the RunCommandHook when executing authentication commands.

Executing this hook leads to commands that cannot be run by unauthenticated users,
which prevents authentication of connections when auditing is enabled.
Merge remote-tracking branch 'upstream/v2.6' into v2.6