You can try to replace the switch, with something like this. That fixture is a bit uncommon, most bathrooms have a wall switch for the light.
https://www.amazon.com/Ceiling-Chain-Switch-ZE-109M-Bronze/dp/B097HL5PWZ