Migrations fix for Django 1.5 using the custom user model.