bugfix tests anonymous user