JGRP-1849 Avoid NPE when SASL mech is not provided

https://issues.jboss.org/browse/JGRP-1849