Provide meaningful error message when server is run as root
Site.js should not be run as root due to security concerns.
Currently, if you try to run it as root, it fails when trying to get the unprivileged account name with a “Could not get account ID” error, which is confusing (see original bug report – thanks, David: https://twitter.com/realdavidpeach/status/1274773479678783488?s=20)
Handle this error properly by detecting if we’re being run as root at that time. “Site.js should not be run as root for security reasons. Please try again from a regular account.”