Fixed logout/cancel locking issue

LNK ID was not being passed properly by cancel/logout buttons so
cancelling or logging out would not actually delete the lock. Fixed.