Password retrieving and storing mechanism for OSX