Fix login when address can't be detected