Add Statsd Logging for Login Success/Failure

Add Statsd Logging for Login Success/Failure.
Prefix prefix should be optional too. BTW: what's difference between namespace and prefix?