This will align the `WebTestClient` auto-configuration with the `MockMvc` auto-configuration and provide a foundation for #10969.