Interactive credential negotiation for stateful business processes