the #1 rule when working with forms:
All processing MUST occur on the page that is specified in the action attribute of the form tag.
you have the form set to post to the login page:
<form class="PFCform_PFCpublic" id="registration_PFCform_PFCpublic" name="registration_PFCform_PFCpublic" method="post" action="login.php">
you should leave the action attribute blank, then set the insert record behavior to redirect to the login page after the record is inserted.