Adding code to delete invalid token

Follow up on the DEV-token with PROD variant, but now we actually remove the invalid token

@corinnekrych @sebastienblanc please review/merge