I have implemented a sync adapter in my app which requires an account to be added in the device account settings. I followed the same approach given in the Android docs. It work
Has this been fixed now in the latest Android N release.