changed client cert behaviour in debug
removed debug client cert
now taking client cert from the (first) credential (this is not necessarly the correct one)
using this workaround due to the limitations of werkzeug