Users with unsalted MD5 passwords unable to log in with Django 1.4

Details are in https://code.djangoproject.com/ticket/19687