Found the files i removed the library and added the files directly to my project instead
Added this to HttpUtils2service
Public Sub ClearCookies(job As HttpJob) As Int
Dim r As Reflector
r.Target = hc
r.Target = r.GetField("client")
r.Target = r.RunMethod("getCookieStore")
r.RunMethod("clear")
Return 0
End Sub
and this to HttpJob
'Clear cookies
Public Sub ClearCookies
CallSubDelayed2(HttpUtils2Service, "ClearCookies", Me)
End Sub
Now my login seems to work :=)
But i don't know if i added it correctly. Should i use CallSubDelayed2 to call "ClearCookies" or is there a better way