More than £20m owed for longer than three months despite cash crisis at council house