Added basic authentication for publishing into channels