Add anonymous user test

This test is expected to fail until fix #175 or #176 is merged. Hopefully it will catch regressions with anonymous users in the future.