Adding Basic HTTP Authentication Option

Added in an option to specify HTTP Basic Authentication 
Please restore the newline after `main()`