You can read the Apology yourself (in the original Greek, even), and see that is has nothing to do with “bad faith” in the way we understand contemporarily: “corrupting the youth of Athens” refers specifically to encouraging their atheism and lack of deference.
To his eternal credit, Socrates does not argue very well in his defense. But this does not amount to bad faith on his part.