Add option to authenticate when using github API

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Rename variable name

Signed-off-by: Phan Le <ple@pivotal.io>