answer
because on the 404 the cookie is a response header from the apache server. The correct url is handled by another server which doesnt know that it needs to set that cookie there.
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep