The encryption password is not saved in the file, for security reasons. After you import your data, you just have to go in the preferences and change your password again
.
As for "cases", I'm sorry but I don't understand, please give more information about this problem. Thanks.