Bugfix for network authentication.