Manually verifying magic link token throws unexpected invalid_type - Better Auth