Adjusting provider to handle preauthenticated x509 certificates