There is a paid shower facility at SFO's international terminal before security at the SQ/UA part of the terminal. It's to the right of security area near the rest rooms and luggage storage company, where you take the escalators down if you're walking to UA's domestic terminal. I don't know how expensive it is.