After flatlining the week before, mortgage demand rose last week, despite mortgage rates rising for the fourth straight week.