Make sure AUTH_USER_MODEL isn't a proxy model. Otherwise the migration will fail.