getAccountsForPackage and getAccountsByTypeForPackage call getAccountsAsUser