Fixing the API uri for integration tests