Added hashlib as encryption on django-1.5 has been removed