Signatures of spin-related phases in transport through regular polygons