Write WordPress login cookie if $token->getUser() is instance of WordpressUserInterface.