SERVER-7961 Adapted x509_client.js to new user document format