Added basic authenication.