add option to set authentication for streaming