fix init ID in case of login into existing session

fix 9013a2a292fcba67dd5e24fca14f5975b30e9504

NOTE: Existing sessions after page reload remain only in
      node-webkit case, see next commit
ctl.Login: comments on window reload and sessions in backend