Login or redirect after session timeout is not handled correctly, currently it will redirect to Error/Error instead of login page.