Surface impedance measurements in superconductors in dc magnetic fields: Challenges and relevance to particle physics experiments