MODCLUSTER-330 Demo webapp doesn't work on AS7

Backport MODCLUSTER-330 to 1.2.x as well. 

Already done in 1.3.x.

Previous versions are not relevant.