use single quotes around root password in grants

Alternative to PR #130 that supports exclamation marks