Yes, seems like it should return. I guess I've never paid attention to it, because of the way I use it.
When I use it, I'm never expecting an actual value, because I'm just calling it so that it sets up the auth vars on pages that don't require authentication. I fixed it in the develop branch.
Thanks for the observation.