prepare for weibo & git & douban oauth2 integration.