Fix CredentialModel
Fix CredentialModel

It is still not that useful, but at least it doesn't crash

Refs #67571

KDE/libringclient,savoirfairelinux/ring-lrc,KDE/libringclient,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,KDE/libringclient,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc