Electron beam guiding by external magnetic fields in imploded fuel plasma