Bring the code of captiveportal up to speed with its module counterpart requirments