Workaround for django-registration's incompatibility with django 1.6

This should be reverted once this changes are merged upstream