prepare In App Registration backend settings,
a bit modification for banner backend settings.

Signed-off-by: TomWu <phperwuhan@gmail.com>
calculate the flags for In App Registration.

Signed-off-by: TomWu <phperwuhan@gmail.com>
modify reg_url setting field.

Signed-off-by: TomWu <phperwuhan@gmail.com>