No. You can log in as user 'anonymous' (no password required, or an empty string '') to obtain the anonymous authentication token:
from dl import authClient as ac
token = ac.login('anonymous')
# now write and issue your query...
If you are using the Data Lab command line tool, you would do the same, i.e. log in as 'anonymous':
datalab login anonymous