MDL-34345 user_preferences: Conversion to new API in core