US companies find borrowing conditions improving as markets rally