You're not supposed to login or register outside of CB. You need to use CBs login module and registration if you're going to use CB. CB will redirect from Joomla login and registration to CBs to prevent backdoor registration and login attempts. You can disable that functionality by unpublishing CBs system plugin in Extensions > Plugins, but it is not recommended to do so.