Fixed login callback and group membership filter