added credentials support to the tuntap router