Do not pass an OmniAuth::AuthHash to a where clause since rails >= 4.1.5 is a bit more restrictive
Replace manual cache expiration with key-based cache expiration