Fix totp registration (#6962)
* Update mfa_totp.php
On the original version, if you typed your password and pressed <ENTER>, a blank screen would be displayed. This is because the <Form onsubmit=""> tag had one action, and the submit <Button> had a different onclick="" action. This change makes it so pressing <ENTER> or clicking the Submit <Button> execute the same code...
* Update mfa_totp.php
Put type="submit" in \<button\>
* Fix TOTP Registration page
* Fix use statements order
---------
Co-authored-by: Beavis <ryan@docker.rtl.lan>