fix of localhost cookie related to nginx binding to 0.0.0.0

issue #115