Your MySQL password should be different from your Athena account password.
-<form method=post>
+<form method=post action="<?=$URI?>">
<p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
<p><span style="width: 150px;"><label for="p2">repeat password:</label></span> <input type="password" name="p2"></p>
<input type=submit value="Confirm Registration">