Use https authentication URL if SSL is enabled.

Change-Id: I2283fec22be0cae1ede678c907792d72269de8da
Fixes: MRN-998