Persistent currents in open spin chains