Fix SeatGuard to calculate permissions correctly in hasAccess()
Merge pull request #254 from LunarchildEU/homecontroller-user-fix

take type of apikey into account to prevent wrong numbers