Added basic http authentication.
Cleaned up dependencies.