I've wondered this, too.
Many athletes get exemptions because of existing physical limitations (probably the most common is being allowed to use asthma-controlling substances). Given his cancer history, Lance Armstrong probably had medical exceptions for all sorts of otherwise illegal drugs...