fix(security): respect configured logger for Assistants stream errors (#2390)