Fixed cookie when url has port defined.