Move slash redirects to application level.
Use app_path in global file. Closes #1975.
Removed the unused setting 'session.payload'.

Signed-off-by: Isern Palaus <ipalaus@ipalaus.es>
Merge pull request #1999 from ipalaus/fix/session-payload

Removed the unused setting 'session.payload'.
Fix merge conflicf