Fix for #3629

An invalid regex in the client_acl or external_auth would cause the master
to crash