Properly clear the user cache after registration.