LPS-34965 Whitelist IPv6 localhost addresses

Hi Sam,

@juangon found some regressions. Here I check invalid host name in the ValidHostNameFilter before it reaches portal servlets and plugins.

It's simpler and faster because the request host name is checked only once per request. Before I checked it with every portal URL.