Make sure kibana and grafana on same hostname do not interfere with each other

This happens if you have kibana on /kibana and grafana on /grafana, resulting in some bad redirects