Banks are being urged to "understand" a person's university debt when deciding on a home loan application, as people are struggling to obtain loans.