#967 After session expiration user is redirected to the login page