Basic auth support in rest tests