Fix create_database_core bug by auto user authentication; Implement migrate_stage1.