This is an alternate approach to address the issue noted in #22946. Instead of just removing the validation it moves the code to the LoggingSystem where it can be overridden if, in fact, authentication is supported. The benefit of this approach is that the stack traces the users sees will only change by the addition of an addition StackTraceElement for the LoggingSystem. Thus this change shouldn't be noticeable by most users.

I also added a checkstyle suppression for the .idea directory since the urls within it were causing the build to fail. Spring shouldn't care about IntelliJ's configuration anyway.

Comment From: philwebb

Closing in favor of #22946