Added basic authentication.