Ensures URL-safe base-64 encoding in PHP token generator. EG-3152