Add test case for `opts.auth`

Currently a failing test case, I'll see if I can make it pass.