The city of San Francisco is challenging state legislation that allows insurance companies to charge women more than men for health coverage. In a practice known as gender rating, women in California pay up to 39 percent more than men for coverage in the…