fix a bug in log http request could load cookie from local file