fix mysql issue with django-openid-auth