couple of small fixes

$authstr and $response where undefined.

Typo fixed, was using $isset instead of isset