Fix session timeout in shiro