Registration/login: Handle new edge cases related to new wallet encryption.