NetworkConfiguration#addCookie now changes the values of cookies that already exist if their name matches the name given to the function.