Allowing to run REST API and web interface on same port. #2515
This loads the web interface resources in the REST API service if the
Additionally, requests going to
This is adding a Jersey response filter that checks if: * the response is a 401 (Unauthorized) * the request was a XMLHttpRequest If this holds true, the `WWW-Authenticate`-header is removed, to prevent the browser's credentials dialog to pop up for an AJAX call.