Feature Request #1460 Redirect to login page after session has expired

It will now redirect to login page after session has expired.