fix redirection

When the app is mounted on /kue for example, http://www.domain.com/kue/ redirects to http://www.domain.com/kue/active BUT http://www.domain.com/kue redirects to http://www.domain.com/active
Merge pull request #357 from mlordon/patch-1

fix redirection