Use sp_dropuser in database ABC to drop the user first, then drop the login.