Implementing Basic Auth by config