Como Proteger Server Actions e Evitar Erros de Autorização em Rotas HTTP (React/Next.js)