Add basic authorization to restful webservices controller.