add authorization to header only if specified by user
Merge pull request #2 from johnyf/master

add authorization to header only if specified by user