Tests: Add a unit test for PHP 8.1 deprecation notice in wp_user_settings().
wp_user_settings()
This ensures that PHP 8.1 "passing null to non-nullable" deprecation notice is not thrown for the $domain parameter of setcookie() calls in the function.
$domain
setcookie()
Follow-up to [53490].
See #54914.