Fixed error in admin class

Fixed an error in the admin class, used () instead of [] by accident on
$_SERVER. Still problems with login, for some reason it cannot find the
index for pass and salt on the $result variable