use basicauth from config