Fixes #16572: mc_user_pref_get_pref() requires read/write api access where it shouldn't.