i had the same error today, solved it by making the value ''

INSERT INTO mysql.user (Host,User,Pass word,ssl_cipher ,x509_issuer,x5 09_subject) VALUES('%',user ,PASSWORD(pswd) ,'','','');

works even in a Routine procedure