Add support for stripping a suffix from user_main_attribute.

Scoped EPPN might need to have the scope removed before we can look
for the user in the database.
INFO-logging of login/logout.
_set_name_id: Correct function documentation.