[lipstick] fix security hole in devicelock
[lipstick] fix security hole in devicelock

giucam/lipstick,rainisto/lipstick,pvuorela/lipstick,rainisto/lipstick,sletta/lipstick,pvuorela/lipstick,giucam/lipstick,matthewvogt/lipstick,rainemak/lipstick,giucam/lipstick,rainisto/lipstick,rainemak/lipstick,sletta/lipstick,sletta/lipstick,pvuorela/lipstick,matthewvogt/lipstick,rainemak/lipstick,matthewvogt/lipstick