Removing the basic authentication example

Since this logic is in the channel manager it doesn't seem necessary to have it in the repository.
Tidied up main function and got the

New dependencies of basic auth and so on into the application