I'd suggest that the switch and the migraines are coincidental OR there's another reason for triggering the migraines which is unrelated to electrolytes.
Bear in mind that the more you sweat, the higher the residual sodium concentration in your body, not less. You're removing water from the water/sodium mix in your body so the proportion of sodium left behind in your body increases, not decreases. Drinking a sodium-rich drink will further increase that proportion, not decrease it.
The apparent decrease in saltiness in sweat is more related to the skin and immediate layers being flushed out and isn't related to the sodium content of the sweat being produced. i.e. unless you've cleansed all your pores before exercise, there will be salts left in there that will get pushed out for the first while of exercise.
As discussed in the research, your body mass changes due to exercise has a far bigger impact on sodium concentration than the contents of the fluid you drink.
"two studies funded by a company which has consistently promoted the erroneous concept that sodium ingestion during exercise can prevent EAHE7 now prove the opposite, specifically that the crucial determinant of the serum [Na+] during exercise is the extent of the body weight change and not the magnitude of any associated sodium deficit. "
(yes I know.. I sometimes take things too seriously.. hey.. I'm a geek, that's what I do

)