Grab username from variable not session.

Adds compatibility for Poof Authentication.