Changed validator name and added tests
Added config for form authentication