Added support for basic auth. See #2.