fix login errors while filesystem is not loaded

this PR should fix the bug discussed on the mailing list https://mail.kde.org/pipermail/owncloud/2013-May/009366.html