I spent a lot of time making the Intranet connector able to connect to a Mindtouch Wiki.
The wiki does not present 401 errors, but a redirect to a login page. After logging in, it requires cookies.
What I ended up with should work on any form-based login site, and I hope it might help some of you.
Here is the login form.
I made a copy of the intranet connector, and changed a few things:
It parses the form and inserts the neccessary values.
Works like a charm!