Fix /api/v1/accounts/search by splitting account search into its own function