tidy up guid auth and add some more settings defaults