Auth key is written to disk for quicker startup during development. Todo: write auth key to keychain instead of disk.