fix database script in functional test
ensure sign out before register test