Added Try/Except to Login function as seems to fail with low level proxy redirect