Fix for Bug NMS-6629

If Jetty HTTP is enabled in opennms.properties, the WebUI doesn't work
with SSL.

The solution is not 100% bulletproof, but it works.