Yes I have experienced similar. Some lounges insist that the FF number used to access the lounge is on the boarding pass, perhaps to allow the applicable airline to be charged.
If so, just have it changed to your AB number to access the lounge, then have it changed back to AA at the gate.