I have Python 3.4 installed on my system. How do I login to the website <http://termmanagement.poolparty.biz/PoolParty/!/auth/login> using a python script?

Code 1:

```
import requests

login_page = "http://termmanagement.poolparty.biz/PoolParty/!/auth/login"
sess = requests.session()
sess.post(login_page, {"j_username": "User", "j_password": "Pass"})

```

Code 2:

```
import requests, json

login_url='http://termmanagement.poolparty.biz/PoolParty/!/auth/login'

r = requests.post(login_url, auth=('myuser','mypass'))
print(r.status_code)
print(r.text)

```

Both the codes return error 400 and urllib2 does not work on my system. 
Your help is much appreciated. Thank you!