Fixed checkbox issues on login and register pages.