Fix authentication

- Set `$AJXP_GLUE_GLOBALS[‘name’]` to username instead of user object.