It should be working unless there is something wrong with the global
Can you try in the same place you are trying to get the state
global $authordata;
echo '<pre>'; print_r($authordata); echo '</pre>';
and does it show the current user or the post author user?