[Fix Bug 916806, Fix Bug 950229] Add external accounts to API and searchable parameter