Basic authorization gateway