See https://www.reddit.com/r/operabrowser/wiki/opera/known_issues/#wiki_opera_on_mac_won.27t_import_and_save_passwords_and_won.27t_save_cookies_on_exit. That issue is affecting syncing of passwords too.