[GnomeKeyring] Make tests pass with gnome-keyring backend.

Fixed PasswordManager::urlEncodePassword - ~ is also needed to encode