I've never heard of a urinary tract infection in frogs, but I guess it could happen.

Maybe the stream of urine washed the dead skin away?