WISE4050LAN RESTful API Login

Trying to interface to a WISE4050LAN using the restful API. I cannot figure out how to get the adamsessionid cookie value. Some Advantech manuals refer to logging in using /sys/log_in, but I cannot get that working. If I log in from a brower and resutling cookie value, I can retrieve values from /di_value/slot_0 from the address bar. Without the adamsessionid cookie (delete the browser cookie) it fails.

Thanks,
Dave