Adding authentication module to pipe