Hi Lars,
Have you had a look to see if the firstboot.properties file exists in your deployment under the path specified above, it was deprecated from newer versions of the UAG.
If it does, can you take a look inside to see what values are currently set for adminPassword - I'm assuming its in clear text?
less /opt/vmware/gateway/conf/firstboot.properties
Thanks
Andrew