Standardization of register page and login cleanup.

#972