Login and Signup Form as Command Objects

Using Grails 2.3.4, the method hasErrors() used in the AuthenticationController was not available. I found that validate and hasErrors methods are only injected to Domain classes, Command objects or classes marked with @Validatable annotation (which also needs an entry in Config.groovy). So I'm proposing moving both forms to the controller as command objects.