modified rest.php config to require authenticaion to api using digest.