Autologin

1) Show text of XMLHTTPRequest failures.
2) Make it possible to autologin with a URL that ends in /chat?user=username
Presumably this should be in an else clause?