fix heartbeat negotiation issue where there is amqp authentication