Debug logging for auth