Decode HTTP basic auth header and create cURL command with "-u user:password"