Fix uninitialised varibales

Set $usertype and $domainname to safe non-null values to prevent
spurious errors being logged
Merge pull request #74 from philrandal/master

Initialize $usertype and $domainname in checklogin.php