[PasswordManager] Ported importing/exporting for multiple backends.

However, for some reason it doesn't work for KWallet backend.