Implement the pkey argument to /rest/whoami