Add support for SASL EXTERNAL

Closes #781.