fix problem with http://localhost, there is no api_url in kolab.conf