when using upstream with a password that contains non-ascii characters like: ! ~ @ etc autentication failed for example: upstream http user:Password!@<server>:<port>