Adding salt to local passwords