match migrations db authentication to rest of the project