Fix reset password on key regen