Adapt SignEncryptWidget to be based on UserIDs instead of Keys
(cherry picked from commit e5b9e5481a907cecf9a1025546514db8f102488b)