Add test case for `opts.auth`