fix authentication issue when user updates their user name