BUGFIX: Use Object::useCustomClass() for login form.