prevent anonymous users from being presented with a login prompt