RESTWS-438:Change so that a 404 message is returned if user is not authenticated (instead of current 401)
removed unused global property and constant for disabling www-auth