Federal workers are turning to low-cost loans to help tide them over financially as the U.S. government shutdown drags on.