fix error reporting in REST API for active directory
Merge pull request #65 from webyast/fix_ad_error_reporting

fix error reporting in REST API for active directory