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