Fix cookie path problem

To solve #87