MDL-46975 core_auth: Make email validation case-insensitive