@matijn Don’t edit core files for this. (they’ll be overwritten at next update)

Instead update your /opt/fog/.fogsettings file with the credentials and rerun the fog install script.