Update SessionCookieFactory.java

Prevent serialization, deserialization and cloning