Doesn't work for me either. I have tried around for some time and could not fix it. The log keeps saying the "jd.http.Browser$BrowserException: Read timed out" after I got a response with a session ID. So the first request seems to work fine. But then the router is locked because the session is not ended properly.
Inm addition to that you could use the following in your script.
Code:
[[[STEP]]]
[[[REQUEST https="true"]]]
POST /auth/disDSL.cgi?RequestFile=/auth/hcti_startseite.php&cookie=SessionID_R3,%%%session%%% HTTP/1.1
Host: speedport.ip
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST https="true"]]]
POST /auth/cntDSL.cgi?RequestFile=/auth/hcti_startseite.php&cookie=SessionID_R3,%%%session%%% HTTP/1.1
Host: speedport.ip
[[[/REQUEST]]]
[[[/STEP]]]
This is a bit more elegant then to lock/unlock the internet. Found this in a hidden button in the webinterface. You can even leave out the second part as the router will try to establish a new connection by himself.