[api2] add api for listing registered accounts (used by admin only)