The latest data shows that two in five new mortgages have terms that see homeowners still making payments in retirement.