Small improvements in the WEBUI

 * Require auth for all view!
 * Fix error in the main templates
 * initialize the Crypto instance before launching the webui.