Fix null reference check logic when unlocking a password.