s = requests.Session()
url = 'https://edu.susu.ru/'
r = s.get(url)
soup = BeautifulSoup(r.text, 'html.parser')
token = soup.find('input', dict(name='logintoken'))['value']
data = {'anchor':'',
'username': '***',
'password': '***',
'rememberusername':'1',
'logintoken':token
}
r = s.post(url, data=data)
print(r.status_code)
r = s.get(url)
print(r.text)