Send Authorization header in try operation for basic auth