key all backends off of hash of pki token.

Backporting to ensure memcached support is correct.

Bug 1073272

Change-Id: If55b3b595fa6f3b5e773a502fc69e7da2c3bd114