Add preliminary support for dual auth (IP/Github)