res_pjsip_session: Fix in-dialog authentication.