Basic login mechanism on DTconsole

Tested on node0:9099 gateway, which has basic auth enabled.