Important bug fixes for account login:

1. struct curl_slist* header should be initialized before sending data
2. use htmlcxx to get login result.