Add whoami function to OpenCenterEndpoint.