Turn on RBM debug in the UI. It is Troubleshooting. Then:
1. login via the WebGUI.
2. try to login via cli
If you see RBM debug messages for the WebGUI login but not for the cli login attempt, you do need turn on apply-cli in rbm. My guess is that is not your problem, since cli was working before you changed RBM and it is not working now.
If you see RBM debug messages for the cli login attempt they will outline what prevented the login from completing .