[JAVA] Issues formatting auth

is this writing a \r\n to the end of the line correctly?