Escape passwords so that they can use reserve characters in the password

This is my attempt (as someone who doesn't know anything about Erlang) to fix https://github.com/benoitc/erica/issues/68  

Seems to work.