Testing pow authenticated controllers

I was facing the same issue and what worked for me instead of recycling the conn was to take advantage of immutability and not reuse the authenticated connection from setup

I named the conn from context as conn_auth, use it in my calls e.g. conn = get(conn_auth,…)

So my authenticated connection was kept untouched and I could assert my responses normally and as much as I need