Improve passworddialog connection
As pointed out in https://phabricator.kde.org/D3071 after the change got pushed.