Handled ratings for anonymous users in preview-player

For anonymous users tries to rate a resource, log-in pop up is invoked.