When trying to reset a cookie before redirecting for authentication, it's only possible to specify the cookie Domain and value e.g. "Cookie2=value;Domain=subdomain.domain.com"
It defaults to use Path=/
If a cookie was set with a more specific Path (e.g. Path=/apptwo) then this cookie cannot be cleared/reset since the Path && Domain do not match exactly.
It should be possible to specify a Path to use with this option.
Similar properties already exist in the Java Agent:
com.sun.identity.agents.config.cookie.reset.path
com.sun.identity.agents.config.cookie.reset.domain
com.sun.identity.agents.config.cdsso.cookie.reset.name