Fix errors in using github OAuth

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