Add basic auth header function.

Returns HTTP basic auth header by userid and password.