make sure the insert record behavior on the registration page does not redirect to another page, then add the Security Assist Authenticate User behavior to the page to perform the login.
make sure the authenticate user behavior is after the insert record behavior.