tests: fix jwt tests