First simple client working.

It supports authentication via username/password and I'm not quite
sure about cookies. Though the Go http client should be using the
provided cookie jar. Only supported method so far is `login`.