More than four out of 10 medical students have considered pausing or dropping out of their courses because of financial pressures, according to a survey.