fields userData and cookiePath were inverted