If logged out, and I fill in my user name and password and then click Login, the cart goes secure (https). I can change the cart to non-secure (http), but when I log out it again logs out secure.
I am using 2.4.5, and the only patch that seemed to apply to this behaviour was fixed in this version of the cart. I never noticed this as a behaviour of the cart before, so perhaps I missed a setting or something, but I only want the user to go secure on those pages requiring transmittal of secure information