Microwave losses in a DC magnetic field in superconducting cavities for axion studies