Register the client after the juju-info file has been written.
Merge container-relation-joined-test, resolve conflicts.
Rename function.
Make sure the juju-info file is written to disk before trying to
register the client with the server, so that information about the
Juju environment is sent to the server at registration time.