Fix problems with memcache and memcached session storage