remove the authentication entry after leaving the main activity