leader: lots improves

prefer tornado.gen
record name-openid in NAMES
add test url of openapi