Added setTimeout to let token actually expire in unit test.