Put back the cipher require, it is needed by the front controllers
Fix issue in api controller encrypt method