Add login auth support.

Add login auth support in the client.  When a token request
returns 401, try one time to login using username/password.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>