Fix node server infinite redirect bug

Go to "/" (or any non-application path) and you'll get infinitely redirected.

Redmine [#3000](http://redmine.virtualworldframework.com/issues/3000)

Fixes #3000