Fix admin console not retrieving token from query param