Based on the ending of Katara's route, it seems she saw you leave Aang's body and the final conversation with Azula in the love route basically has you imply to her that you're someone else in Zuko's body (I forget how it goes in the slave route, though), so they probably know it's you they love...