Added support for Http Basic Auth. In config file, specify a username (and optionally a password).
Pull and changes to martinknafve's master. Small OCD changes too.