DP-3309 Sending empty strings instead of undefined in credentials for MQTT.

 Sending empty strings instead of undefined in credentials for MQTT.