Fixed a bug on losing authKey while saving wallet.