[SCSI] iscsi class: fix endpoint id handling