getAccountsForUser behavior changed. Code updated to handle change