Move DN handling to each methods from sanitize_for_mass_assignment

Methods that use "attributes=" need different DN handling. So DN
should be handled in each method.