Adds the hide-on-close property to the dialog to stop it from becoming unresponsive after the user tries to enter credentials multiple times.
Replaces the AdwWindow authorization window with an AdwMessageDialog Fixes #1044