these two lines can be simplified to `self._authentication_required = data.get('auth_required', False)`