Look, I'm not an APA referee, owner or anything. I have ZERO interest in the outcome of the OP's question nor do I really care. I'm simply telling you how the APA works.
Now, for the record, the OP didn't say she was "practicing". I'm under the assumption she didn't realize she won and I'm telling you, it's against the rules for anyone to tell her.
Regarding team play, the team is allowed to be involved in referee duties which would pretty-much eliminate all of your questions. Seriously, this is a scenario that only occurs when you have an absolute beginner who has little knowledge of the rules playing in singles matches.
really, so after the person scratched, and I walk over and congratulate the winner, you think that is a foul, and thus the woman would have lost that way as well.... nope, sorry, not true in the least...
Just a horrific call, by someone with very little pool smarts, and an all around jack ass.