In Middleware::authenticateUserOrOrgForOrgBadge correctly authenticate based on logged in user, not the user whose ID is passed to the Slim route. Closes #816