fix for mysql error https://bugs.launchpad.net/django-openid-auth/+bug/524796