Work on possibility to start the session, sorry for a big chunk, wouldn't compile otherwise

Added proper checks for PAM and differentiate upon it when creating a backend

Added an opcode to request the process environment for the session

Some according changes in the API, especially in the helper

Should now quit properly when authenticated correctly