Fixed a bug with the connection credentials

...which were stored in a public property rather than a private one;
thanks to etb09