Fix: App gets stuck when sharing a folder when there is a credential error