WHAT: Put ThreadLocals in CookieApplication back to being transient
WHY: They actually, shoudl be transient, but i needed to provide a readObject for serialization, to prevent them from being set to null