A port of CI's TankAuth to Laravel