Rainloop Authentication Failed on Cyberpanel & Ubuntu 18.0.4

I am getting authentication failed error on main loop and have tried all the available solutions on the internet like reinstalling dovecot, restarting postfix etc to fix this but still unable to do it, I have installed cyberpanel on Ubuntu 18.0.4, can anyone help me to fix this?