fix automatic authentication after install