Autologin

1) Show text of XMLHTTPRequest failures.
2) Make it possible to autologin with a URL that ends in /chat?user=username
I guess we should clean up, i.e.:

    else
        resultLink.innerHTML = "";