Save session on page render & redirect (shortcuts)

This should ensure that the session is saved
as the last thing that happens before a template
is rendered or a redirect.