LDEV-4627 Set country and locale for users created via integrations
New locale detecting algorithm:
1. Check whether we have exactly the same locale. If we do - select it.
2. Grab the first two letters of the provided locale (which we assume to
be the language code), and map it to one of our locales of the
respective language. If we have multiple ones - choose the first one
from the list indiscriminately.
3. If we don't have locale of such language - use the server default
one.