Fix redirection for root path
Previous redirect didn't work for tomcat/jetty environments