Python Post Basic Authentication Process Definition