Authenticate the user using hash in database

This way we can still authenticate root in the WebGUI if the password is
disabled for login.

Ticket:	#3669
Get default interface using route as netstat can truncate the name

netstat com be workarounded with -W but route is simpler.

Ticket:     #3669