Standard & Poor’s under investigation for allegedly improperly rating dozens of mortgage securities leading up to the financial crisis.