add support for initing with cookie

add support for initing with cookie
fix ddns api doc and config file

fix ddns api doc and config file
Merge branch 'dev'