Validate the external auth sources of a profile

We no longer let the user save a profile with multiple external
authentication sources of the same type.

We also removed the "enable self-registration" checkbox.
Self-registration is automatically enabled when at least one external
authentication source is selected.