[Fixes #138] Add basic authentication