Final fix for the permissions|authentication.