Fixed bug that made session info not display correctly immediately after login