Fixed incorrect behavior settings in RESTServerBase.