Thanks for the reply, but I don't see anything related to my problem in the post...
I do not pass parameters in the POST URI, but it the body, and I don't get any error or warning (except for the deprecation of action=login), it's just that the answer contains lguserid and lgusername but not lgtoken.