Add redirect and env proxy support to docker login