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>
Merge pull request #2 from ryu25ish/ryu/chamicuro-13.01_78

Add login auth support.