save previous path in `custom_authenticate_user!`