Can not login to MacOS Mojave, how to fix?

If you can not login to your Mac after upgrading to the new MacOS Mojave even the right password provided. In some cases, your login is credentialed, but you are sent back to the login screen after a couple of second in the Desktop screen. This seems to happens the same under the Safe Mode.

How to Fix?

This issue is caused by a Razer Plugin. How to remove the Razer Plugin under MacOS Mojave?