WFLY-1988 :  SaslException at startup in domain mode using JAAS for ManagementRealm

The issue arise when the randomly generated auth key contains the NULL char 0x00. Now each 0x00 is replaced by 0x01.

https://issues.jboss.org/browse/WFLY-1988