Use client callbacks as in sample-client of Cyrus SASL. (not working)