"To protect your security, idmsa.apple.com will not allow Firefox ....
I found the answer to this. The privacy setting in firefox known as "privacy.resistFingerprinting" will cause this error, because it blocks Apple from using the canvas for browser fingerprinting. Set this setting back to false, and it should work, assuming you don't have other plugins blocking the canvas fingerprinting.