More correctly saves the path of the cookie and extras

Now the code more correctly saves the path and it also ignores saving the session cookie that node uses in the session cookie.