Studentloans.gov, the web site that handles government direct lending to students, was broken most of the day Tuesday, when President Obama signed a massive expansion of the federal role in student loans into law.