Issue #3199932 by eiriksm: If a user tries to link a user from a provider that has already got a user, they do not get a good error message
Closes #3199932