Completed remote login test, fixed Admin API bakery integration.

Added api client reauth support.