SASL code does not generate/handle equals sign properly in all cases

Description

See PR #642, for example.

Environment

None
Fixed

Assignee

Dave Cridland

Reporter

Dave Cridland