If the white stuff is dry and slightly "rubbery" it is most likely a thread locking compound, which will also act as anti-seize. The NDS cup will need a light application of grease or anti-seize and the drive side can go in as is but clean the BB shell threads to remove residual grease first.