Fixed membership provider to correctly log failed attempts.