Effect of vortices on the spin-flip lifetime of atoms in superconducting atom-chips