Confirmed. The problem is when you authenticate in a greeter it starts a session to do the authentication with PAM. The cleanup is being called for this session (which is thrown away when authentication is complete). This is not the correct behaviour.
Confirmed. The problem is when you authenticate in a greeter it starts a session to do the authentication with PAM. The cleanup is being called for this session (which is thrown away when authentication is complete). This is not the correct behaviour.