The reason for why it is not a widespread practice is probably because you scare off way too many potential employees. I know I would consider ending the interview instantly if asked to hand over any passwords. And for sure I would not take any job there.
Scholarships and universities is where there might be a case for the law. I would like to see some real examples first though where current law does not already stops this for scholarships/universities.