313 Add Basic Auth for rest client