Use Polkit to get userid instead of running shell command `id`
Port to gnome-shell 3.14