Making Shock auth cache thread safe.

This should fix the majority of our recent failures.