Adding auto-generation of AuthKey when there are none available.