65662a4f9b
Fix auth middleware to return correct HTTP status codes: - 401 Unauthorized: No session (not authenticated) - 403 Forbidden: Has session but insufficient role Previously, all auth errors returned 401, which caused the frontend to redirect rx users to login when they tried control endpoints. Now rx users scrolling jog wheel/frequency will get a "Insufficient permissions" hint instead of being redirected to login. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>