Fixed createConnection call in HttpClient Test

Fixed createConnection call in HttpClient Test due to token addition