libvirt.tests: Amendments for migration with virtio-scsi device.

 * For some machine, dns does not work properly, it may
   takes very long time to login.So allow more time for logging.
 * Fix the codes for creating ssh-autologin.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>