Cookie based session as a middleware for britney SPORE client