refactoring test helper method.
refactorint test.
remove unauthenticate user instance for api 1.1