Wordpress External Database Authentication Reloaded tweaked to work with multisite networks