[tests] Fix some bugs with page creation

1.  Unicode problem made it so all non-ascii pages were considered different
on every run.
2.  We reuse the api client now which speeds up the calls slightly.  Its
simpler to read too.

Change-Id: Ie44d89540a81ee9c1dd3b8ea7beeacb3a3d6c6c8
Merge "[tests] Fix some bugs with page creation"