Handle memcache error on Twitter authentication

Fixes #448