I have just been through the same situation.
the bank has a obligation to who ever owns the property and has to get the best possible price for the property, usually through auction - take what is owing to them and give the rest to the owners.
if the proceeds from the sale are not enough...