Megila 5. 10
וַיִּתְאַפַּק הָמָן, וַיָּבוֹא אֶל-בֵּיתוֹ
בַּלַּיְלָה הַהוּא, נָדְדָה שְׁנַת הַמֶּלֶךְ
Haman was forced to restrain himself from going to the toilet. He managed to do it but had to go to his house.
Achasverosh had insomnia.
We see that Haman did not take laxatives, Hachashverosh didn't take hypnotics, and there were no public toilets.
We have a remez of prohibition for those three practices in verses. How did Rabbis not protest against the spreading of modern practices concerning laxatives, hypnotics and public toilets? If we need a new geula, knowing that Masse Avot siman Labanim, how can it occur?
Please provide source to melamed zchut the modern Jewish minhagim which apparently break minhag neviim.