Add debug option to authenticate method of the command line client.