COOPR-520: Add mutual auth support

Please review
Braces around variables, please...