title: log in to a website using Python's Requests module doesn't work on this site but work on other site
body: <p>use the following code on twitter and github it work fine but it doesn't work on the main site i am using it for, can someone please tell me what went wrong.
  i did not get any error instead it scrap back the login page instead of log me.</p>
  
  <pre><code>import requests
  session = requests.Session()
  params = {'j_username': '**********', 'j_password': '************'}
  r = requests.post("https://connect.data.com/loginProcess", params)
  print("Cookie is set to:")
  print(r.cookies.get_dict())
  print("-----------")
  print("Going to profile page...")
  r = requests.get("https://connect.data.com/home")
  
  print(r.text)
  </code></pre>
  
  <p>I am new to this so i can't figure out what went wrong, i have try many answer out before asking the question but none seem to workout for the site.
  The login url is /login but the file that the login is been process is /loginProcess that is why i use /loginProcess but loginProcess does not print out my cookie but /login does print it out
  The form to the site look like this:</p>
  
  <pre><code>&lt;form id="command" name="LoginForm" action="https://connect.data.com/loginProcess" method="post"&gt;
  
              &lt;div&gt;
                  &lt;div class="login-container fields float-left"&gt;
                      &lt;div class="content"&gt;
                          &lt;div class="first"&gt;
                              &lt;span class="title"&gt;Login&lt;/span&gt;
                          &lt;/div&gt;
  
                          &lt;div class="middle"&gt;
                              &lt;input id="j_username" name="j_username" type="email" class="text" placeholder="Email" maxlength="128" tabindex="1"&gt;
  
                          &lt;/div&gt;
                          &lt;div class="middle"&gt;
                              &lt;input id="j_password" name="j_password" type="password" class="text" placeholder="Password" autocomplete="off" tabindex="2" maxlength="128"&gt;
  
                          &lt;/div&gt;
  
                          &lt;div class="middle"&gt;
                              &lt;label for="_spring_security_remember_me" class="general-checkbox-label"&gt;
                                  &lt;input name="_spring_security_remember_me" tabindex="3" value="on" id="_spring_security_remember_me" class="checkbox margin-0px" type="checkbox"&gt;
                                  &lt;span&gt;Keep me logged in &lt;/span&gt;
                              &lt;/label&gt;
  
                          &lt;/div&gt;
                          &lt;div class="last"&gt;
  
   &lt;button id="login_btn" type="submit" class="button-standard button-primary" tabindex="4"&gt;
  
  
  &lt;span class="button-standard-text"&gt;Login&lt;/span&gt;
  
  &lt;/button&gt;&amp;nbsp;
                              &lt;a class="link" href="https://connect.data.com/forgotpassword" onclick="var x=&amp;quot;.tl(&amp;quot;;s_objectID=&amp;quot;https://connect.data.com/forgotpassword_1&amp;quot;;return this.s_oc?this.s_oc(e):true"&gt;Forgot Password?&lt;/a&gt;
  
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="login-container marketing-message float-right"&gt;
                      &lt;div class="content"&gt;
                          &lt;h2&gt;
                              Don't have an account?  
                              Sign up now - it's FREE!
                          &lt;/h2&gt;
                          &lt;div class="float-left"&gt;
                              &lt;img class="login-bicons" src="./Data.com Connect Business Contact Directory of Business Contacts and Company Information_files/clear.cache.gif"&gt;
                          &lt;/div&gt;
                          &lt;div class="float-left margin-left-20px"&gt;
                              &lt;p&gt;
                                  &lt;span id="pageTitle" style="color: #146791"&gt;Find&lt;/span&gt; 
                                  business card information &amp;amp; B2B professionals. 
                              &lt;/p&gt;
                              &lt;p&gt;
                                  &lt;span id="pageTitle" style="color: #87c540"&gt;Research&lt;/span&gt; 
                                  people &amp;amp; companies.
                              &lt;/p&gt;
                              &lt;p class="margin-top-5px"&gt;
                                  &lt;span id="pageTitle" style="color: #f37521"&gt;Get&lt;/span&gt; 
                                  millions of contacts.
                              &lt;/p&gt;
                          &lt;/div&gt;
                          &lt;div class="clear"&gt;&lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  
                  &lt;div class="clear nonlogged-container-foot"&gt;
                      &lt;span class="new-to-ddc"&gt;New to Data.com?&lt;/span&gt;
                      &lt;a class="sign-up" href="https://connect.data.com/registration/signup" onclick="var x=&amp;quot;.tl(&amp;quot;;s_objectID=&amp;quot;https://connect.data.com/registration/signup_1&amp;quot;;return this.s_oc?this.s_oc(e):true"&gt;Sign up for an account...&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;input type="hidden" name="CSRF_TOKEN" id="CSRF_TOKEN" value="ce56932e08fc97bc29c5f6535b572664a66000513143584504b0ee7c66ef9659"&gt;&lt;/form&gt;
  </code></pre>