MDL-42935 core_user: validated the auth, lang and theme values when creating or updating a user