wp_roles init needs to be called before populate_roles in order to have the wp_*_user_roles option set with the correct blog id.