Fix two memory leaks

(1) the connection did not release its TLS context in
    xmpp_conn_release.
(2) in auth.c:_auth, authid wasn't freed

Note: this patch is ported from libstrophe and I might've been wrong when rebasing, please peer-review before merge.