if the server returns invalid_grant, automatically log the user out