[fix] Better authorization handling in Node