prepare for sina & douban oauth.