public final boolean setAnonymousServerCredentials() {
		if (isRunningHeadless()) {
			// only change client authenticator in headless mode
			try {
				HeadlessClientAuthenticator
						.installHeadlessClientAuthenticator(ClientUtil.getUserName(), null, false);
			}
			catch (IOException e) {
				throw new RuntimeException("Unexpected Exception", e);
			}
		}
		return verifyRepositoryConnection();
	}
Enable use of anonymous read-only user connection to Ghidra Server in place of
fixed username/password credentials.
<p>
NOTE: Only used for Headless environment, other GUI environments should
continue to prompt user for login credentials as needed.

@return true if active project is either private or shared project is
connected to its server repository.  False is returned if not active
project or an active shared project failed to connect.
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java