[Closes #4] Added option to specify basic auth credentials.