encoding passwd for github connection