get API url from config.js (generated based on application configuration)
fix broken karma test