Worth noting the "Martian medium" doesn't seem to have any perchlorate in it. The soil part is water that JSC Mars-1 (volcanic ash from Hawaii) was soaked in, and according to Wikipedia none of the Mars simulants include perchlorate, not even MGS-1.
which is kind of a big omission here, since Phoenix found perchlorate (0.5% of the soil) by doing basically this, mixing water with Martian soil. If you leached real regolith for 24 hours I'd expect it to be one of the main things in the water.
I think many are missing something that a comment elsewhere mentioned. This is about using cyanobacteria inside of a human base. They'd be super-deaded on the exposed Martian surface. The ash was just a hypothetical additional nutrient source alongside human urine.
Perchlorates are not a big deal and are even present in Earth's water in some dangerous quantities in various places. They can be easily filtered out. Reverse osmosis and other basic filtering tech takes care of them. There's also even specialized carbon filters, similar to the type you might see in a carbon filter water pitcher, that also can be used to remove them beforehand if necessary. Unclear if that'd even be necessary in this case though - cyanobacteria are quite robust, and the ash was significantly diluted.