fixed login page after session timout, closes #159