Clean up passwords module, create open_door()
jslint