Immigration authorities are to be given much stronger powers, inspired by those used to prevent terrorism, in an effort to tackle deadly small boat crossings in the English Channel.