Fix newline handling in auth file

See `man test`.
`-f` is `file` (commonly used), `-s` is file with some _s_ize.

This is used here to only do the grep-dance if the file is non-empty, otherwise it would produce a file with a single newline.