More debugging on auth handling