Probably the problem is the permissions that are given by default to the login application. In this case it is as simple as updating them in the policy file /usr/share/polkit-1/actions/org.freedesktop.login1.policy and modifying the corresponding section:

1

With this modification we would have solved this problem.