Unfortunately ISO 400 in auto-iso with on camera flah is an age old limitation of canon's implementation of auto-iso.
Several workarounds available (mode P, mode M, high speed sync on/FP, safety shift off, etc.), nine of them really satisfactory. Only, real solution: Nikon (higher level cameras, like D810) havre a far superior auto-iso algorithm. canon 1dx also handles it better.