This test used the server's Java API to create a project. That
only worked because there's a bug in the test framework that
still identified a user as admin even after administrate server
was revoked.
This change fixes the test and makes it use a test API instead.
This change is a preparation for a refactoring that will fix
the aforementioned bug.
Change-Id: I7f3c1c4dcfc9f640b68590f4791f848d44d2f934