Replace old functional http.post call

The patch removes a leftover of the old http helper functions and moves
the check of self.conf.auth to the setUp method.

Change-Id: Ie5cf3c7cfbf5dc80e9a1faf6556588d3b2284bb7
Merge "Replace old functional http.post call"