Checking user properties for instanceof User
$header was always true due to previous if statement
Unnecessary to check PHP_AUTH_USER here

it was implied from $this->auth_user_nickname above