Authenticate MQTT connections