scsi: target: iscsi: Fix a race condition between login_work and the login thread