The normal and superconducting states of CeIn3 near the border of antiferromagnetic order