fix removing authentication methods