Fix: Submission URLs with HttpAuth.

Also replaced newlines with system line.separator for windows.