Move auth_timer tracking from the user cache to the db_services module
Fix data serialization so that CaseInsensitiveDictionaries aren't being written to the database, since they can't be read back