Fixed authentication when username or password have URL encoded values

- Some user and/or password might have characters that have to be encoded, such as "@", the `broker-api` config wasn't honouring these values.