Patches for check_http basic auth patch [sf#2863925] [#1010]