Update main.inc.php

Add SSL auth mode