pam: Fix the pam conversation approach
pam: Fix the pam conversation approach

Until now our PAM conversation was errorneous using pam_get_user
which is not correct for requests other than accquiring the username.

To correctly request the Token from the frontend we have to use a PAM
conversation. This is done via the pam_prompt function.

We also do check now, if the requesting user (if set) is identical with
the preset user. If this is not the case we will not unlock the screen.
Preset users should only be available if the screen was locked.
If the usernames aren't equal, the module will return PAM_CRED_UNAVAIL.

Additionally the logging was rewritten to use the syslog and more comments
have been added to describe the steps we're doing.

Change-Id: I4455ea61ffb27e854fe93bdc51068e12617955a2
Signed-off-by: Vinzenz Feenstra <600e8a10eeff4f08c65e2cf493cd851025e86fd2@redhat.com>

oVirt/ovirt-guest-agent,silenceli/oga-windows,oVirt/ovirt-guest-agent,oVirt/ovirt-guest-agent,silenceli/oga-windows,silenceli/oga-windows,oVirt/ovirt-guest-agent,silenceli/oga-windows