Support HTTP Basic Authenticiation for httpok checks

Fix settimeout for https (was raising NoneType has no attribute settimeout)
See https://github.com/maxnaude/superlance/commit/2bf7498603ee351c6f6baa6a45e4ccd554802030

Fix args for authentication
Move headers creation outside of retry loop since the headers stay the same