Remove hard-coded user model in recent migrations

This ensures a custom User model can be used with migrations.