Adding support for opal server per study.

adding support to set an opal server per study. the opal client can connect with username/password or with a certificate
Password encryption should be here.
Also assume that if there is no username then the password must be empty as well.
If there is a username and if no password is provided then it means the password must be kept as-is (=not updated).