Added token detail to credential-based login in the test program.