SERVER-1891 Add hooks to audit authentications using MONGODB-CR and MONGODB-X509.