Competing superconducting and magnetic order parameters and field-induced magnetism in electron doped Ba(Fe1-xCox)2As2