Fix problems caused by login.jsp
enable session