Updated memcache session handling.