accountsettings: remove unused function

It was moved into owncloudgui before
And it was broken (bad use of QUrl and use of null pointer
folderwizard:  fix possible use of null pointer

Coverity issue 12907