added function to check the valibility of the cookie of baidu.
relogin if the cookie check is failed, remove option -b and -c, automatically read cookie and base files if no password is present.