Fix path specific cookies being overridden

Path specific JSESSIONID cookie gets overridden by parent path cookie.
If a more specific cookie already exists, then don’t override it.