Fixed memleak with session sasl credentials. Fixed pointer deref