[PasswordBackends] Added tests for password backends.
[DatabasePasswordBackend] Make tests from previous commit pass.
[KWalletBackend] Small changes to make tests pass.