Fix issues with case sensitive matching in the account switcher plugin.