Revert secure url to non-secure if not set in config