Fix Kerberos issue in ssl_session_dup