CRM-15215 - Fix api address validation
Merge pull request #4013 from colemanw/CRM-15215

CRM-15215 - Fix api address validation