Fix bug if client disable cookie