[libaccounts-qt] Avoid loading invalid account