Redirect to login page when session times out
Redirect to login page when session times out

When a logged-in user is on a protected page such as `/system_log` and
their session times out then redirect the user to the login page when
the user reloads the page.

fixes #627

opensalt/opensalt,opensalt/opensalt,opensalt/opensalt