-
The do_login cleared all headers, including User-Agent, but the site spits 500s when this header is missing. Also, 'application/json' was set for all requests, even GET requests and form POSTs. Set it only for requests posting json. PEA accounts are parsed the same way as MARKET accounts.
bced25da