Fixed FatalErrorException when not authenticated