Fixes OAuth "invalid_grant" / "Invalid redirect" errors caused by trailing-slash mismatches between the URI registered in TickTick and the one sent by the plugin (reported in #2). The plugin now strips trailing slashes from the redirect URI on save and on use.