SASL : initialize the sasl state according to the current configuration
SASL state : add 2 JUnit tests