Fixing TestIdentityPLuginand and refatoring VomsIdentityPlugin.