Green’s Dictionary of Slang

fanny n.3

(camp gay) a proper name, with its sl. allusions, used for a variety of camp nicknames, e.g. Fanny Fed, the FBI.

[US]Maledicta IV:2 (Winter) 229: Other old names [for homosexual men] are Flo(rence), Lily, Fanny, Alice.