Fixed missing brackets and updated error handlers in cfscript version of LoginManager