Fix regression introduced by 37b02c1ef9be4f989c9ad5e511f519d35f2bc088

device->authr cannot be reset to NULL in initiator case as it is needed
by device_is_authenticating.

So instead of reseting device->authr just reset both device->authr->cb
and device->authr->agent to NULL, this fix the regression since the original
problem was device->authr->agent pointing to freed memory.
1 file changed