I've went with a different solution now that synchronizes the databases.
Really, replacing user storage is not good idea. Users table stores user preferences and is referenced by foreign keys. So, you need user records in users table. If so, I don't see a reason for these hooks.