Fixed a bug wherea api calls via non https was not supported anymore.