This is a very knotty problem.
Technically, the verb "to be" does not take an object, and so strictly speaking we should say "it was she".
But that's not what we say, most of the time. We say "it was her." I think common usage must trump the laws of grammar on this occasion.