The auto-configuration for a `UserDetailsService` and the web bits has been split into two. Closes gh-11915 Fixes gh-11891