A major deadline for certain federal student loans is only two weeks away, and failing to act could be a costly mistake for hundreds of thousands of borrowers.