Seems last minute messing around with how cookies are created is not a good idea.