Password Recovery Fix

Fixed a bug that caused the event logger to throw an error when a user
tried to recover their password.