Fix various auto-update issues

* Only use the user_nicename from the WP_User object if it's not empty
* Move 'username' to the bottom of the new nicename switch, and add a default statement
* Add/remove the 'user_register' action along with 'profile_update'