[lipstick] fix security hole in devicelock
Merge pull request #132 from rainisto/master

[lipstick] fix security hole in devicelock