Antisymmetrized Green's function approach to (e,e') reactions with a realistic nuclear density