Create flag to force HTTPS of value of issuer on server startup, address...

...es #528
Please split the test cases into separate methods.