Fix guest access

@karlitschek I found this bug yesterday
This fix is worth including into 7.0.2