Added basic login authentication.