use_ssl_authentication=1 shows full DN instead of CN

Hi,
use_ssl_authentication=1 wasn't working properly for me. It kept displaying the full SSL Subject DN instead of the CN.

With the minor changes it now shows the CN (user's name in our case) in the thruk GUI.

Thanks,
Mark Clarkson