Implemented open/secure tests for Web API service.