Fixed newline character bug for Login.