Create activities when a failed password match occurs with Basic auth.

Remove Redis maxmemory option, use default volatile-ttl.

Shorten error var names.