Refactor Toadlet registration for readability.

This is a precursor to adding a login page equivalent to that in Freetalk. It moves repeated calls into methods and removes named instance where there are not needed.