Moved the firewall name into the configuration file.
Properly used the scope configuration parameter.
Used the PreAutthenticatedToken instead of the UsernamePasswordAuthenticatedToken.