http: Support auth method detection for POST