
Since we don't know if polkit/PAM will request a password (emitting the "request" signal) or use another authentication method like a fingerprint after the current authentication failed, hide the password field and make the "Authenticate" button insensitive after cancelling the session, just like we do when creating the dialog. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/788