Reflactor and add login baidu case.