Throw exception when parts of the session are missing
Replace Crypto endpoint by an override of the silex core application