Fixes NB#138261, settings dialog not shown when the password is incorrect