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