Magnetic field and field-aligned current variations in the polar cusp controlled by interplanetary medium parameters