Issue #3468967 by tdnshah, The url safe base64 encoding function needs to be fixed to remove "=" padding
Closes #3468967