Fixed login
(had to extract session cookie from response to GET request for login
page)