Added admin API functionality

Will this break the second time these tests are run as it's already taken? We could generate a random username for now.