better processing of the returned auth digest string; closes #1607