g_variant_compare() returns 0 when the values are equal, and non-zero
otherwise, which is the opposite of what the check wants.
Also, it is valid for the login history variant to be null, when the
library is working with an older daemon. Don't emit a critical in that
Created attachment 71736 [details] [review]
Ghgh, git-bz is not working...