Escape and quote password before using