make the app completely independant from /suffix, apart from LOGIN_URL and LOGIN_REDIRECT_URL