8.5.2 would be great.
Thanks a lot for the sample, you posted. This helped a lot.
In the meantime I managed to solve the login and SSO issues for the post commands, too. In this case one has to fill the csrf token manually.
I didn't realized this in the documentation.