CONN:1370,1378 and 1408 bug fixes (reopened tickets)

- Cleared certificate after add.
- Added ajax update after trust bundle refresh.
- Cleared trustbundle cert after add.
- Added UI block for sign in, to prevent multiple calls on sign in and let the user know it's loading.