Added some more logging to find out why 401s are happening