International Citizen - Resident Alien - F1 OPT - Social Security and Medicare Tax

I am an international citizen whose status is resident alien. I am on F1 OPT. My understanding is that I should not be paying social security and the medicare taxes. However one of my employer has withheld some taxes for that. So, my understanding is that it will be refunded after filling the proper tax return. However, turbotax premier has not asked any such question in the profile and personal information section by which it can verify my tax residency and  immigration status.  Also, after taking all the entries for deduction the s/w shows the credits. There it show the total amount withheld. That amount is not reflecting the social security and medicare taxes withheld.
Please advice on how will this work?