Run. It is only a sign of things to come. If they are asking inappropriate things during an interview, I will promise you it will be worse if you work there. Take it from someone with many years of experience.
Walk away with pride knowing you can and will do better.