Password is not a common attribute. Indeed, in most cases, it is not stored in clear text in the backend (LDAP or database).
So, to store user password in session, you cannot just export the password variable in session. To bypass this, LL::NG can keep the password given by the user during authentication phase.
Go in Manager, General Parameters
» Sessions
» Store user password in session data
and set to On
.
User password is now available in $_password
variable. For example, to send it in an header:
Auth-Password => $_password