The World Bridge Federation is an IOC recognised sports federation, which requires them to follow World Anti-Doping Agency rules. The decision to seek IOC recognition was partly motivated by the (somewhat vain) hope of becoming an Olympic sport, but it's also partly financial because IOC recognition attracts a significant level of funding.
The WADA list of prohibited substances and methods is somewhat eccentric and clearly influenced by political concerns rather than pure science. Psychoactive cannabinoids are prohibited despite no clear evidence of performance enhancement, caffeine isn't prohibited despite clear evidence of performance enhancement and beta-blockers are only prohibited in specific sports.
The competitor in question would be permitted to use the substances in question if prescribed by a doctor for the treatment of a recognised medical condition, but he would be required to apply for a Therapeutic Use Exemption within five days of an adverse analytical finding (a failed drugs test); it is understandable that the competitor may have been entirely oblivious to his obligations under the WADA code.
More likely he was trying to have kids.
The female drug is the interesting one. Typically testosterone is detected by measuring the ratios of different hormones, a lot of testosterone isn't even unusual in many people but it's balanced out by epi-testosterone. When you add testosterone via unnatural means the ratio skews. (Read about "the cream" that Barry Bonds used with "The Clear", it was used for masking) Hard to say what goes on in some of these folks' heads, they generally know the rules and they know the penalties and they know they'll be tested. I'd assume he took both to mask something. If you're really trying to have kids or on T-replacement, you have a doctor treating use, measuring things and that doctor can provide a TUE letter.
You won't believe what happened to this bridge player!
I wonder if this guy is just on testosterone replacement therapy, which is an increasingly common occurrence. Low testosterone can cause poor health and a number of other issues (some psychological) in men.
Regardless, saying that because someone tests positive for a non performance enhancing drug they should have their card playing medals stripped makes no sense at all. :/