Init fixes v3

This is the merged branch containing `t_init_token`, `t_login`, `t_init_pin` and `t_set_pin`.

It also contains some fixes related to these features that were added to each related commit.

Please, review it.

-----
* v2:
    - Added a fix for `pkcsconf -t` failure at the first time that it's called after an ICSF token is added.
* v3:
    - Added a fix for a wrong log function name in `icsf_specific.c` (by Debora)
    - Fix a commit that should have been squashed in a previous commit