fix the context path of cookies