Feature/2349 add mac auth