Fix a use after free() bug in XMPPSCRAMAuth