Delete the session when the user closes the browser

- This will help to avoid the bugs we run into because
  we aren't migrating session data
Put session changes inside before_request hook
Merge pull request #115 from InsolvencyService/short-lived-sessions

Delete the session when the user closes the browser