AMBARI-8756. Set session attributes prior to updating cluster