Support WordPress 4.0 authentication and update user provider.