Remove the messy logic for catching incorrectly padded user cert by
adding the from_base64url function
Fix typos