Simplifying auth for tests.

Added helper method and calling it to get the authentication setup for
the test suite. This way you can use the cert directly from the xplat
"account cert export" command without having to go through a bunch more
hoops.