fix(middleware): fix session maxage