I would get a decent light that is easy to remove and put on. It seems leaving ANY light on a bike outside in a city during work hours is an invitation to thieves.
I have one light that has a easy clip on/off from the mount (takes 1 second), and removing the mount only takes about 15 seconds. many other lights have rubber straps to put on and off that only takes a few seconds as well.
No idea about that first light, but I have to think there will be a bit of you get what you pay for. The second one you link to is also on Amazon and seems to get decent ratings considering how cheap they are. I guess you could just buy a bunch of them in case they dye or get stolen.
You definitely want a bright rear light to make sure you can be seen well enough by cars. Whatever you pick ask someone to see how well they can see you at night where you will be riding from a couple hundred feet back. If your lights are much dimmer then all the other lights around you drivers may not see them.