Rep 1303 Added delegation to basic auth