Fixed some odditites when using multiple secure cookies.