Fix newline handling in auth file