MT#7447 fix api customers test

we now show terminated customers by default, so filter for
active ones only. see also MT#7797

(cherry picked from commit 49f14f8e8fd78e668f608385cc6ae27ea81eefe3)