WebSession: backward compatibility with redis 1.2

* Replaces setex with a pipeline call to set then expire to be compatible
  with old redis versions.