Feature/saml idp total login time

These patches add the total login time to the statistics data logged from the IdP after authentication.

This is useful for checking how much time users actually use on the login process, and also to detect errors that cause the login process to misbehave.