Fix HTTP basic auth.

It looks like it was broken since we implemented cookies...