The wires are color coded. It sounds like you are going to replace the connector but you can also try to clean it using electrical cleaner or some ethyl alcohol. Even brake cleaner will clean that stuff up. As long as the copper is shinny and clean, it should be OK.
And that the connector securely locks is important too.