fix build errors with autowiring magicAuthString.validityInDAys