Added setters for guard generation in form auth.