Add unlock function to reset_password action.