Use get_any_collection() in compat function

To make the tests succeed when default collection is not available.
Use get_any_collection in tests as well

Now tests pass when ran in chroot with gnome-keyring-daemon running!