Commented out non-working line again. Added more logging around auth.