Set server password fix

Fixing a bug in set server password where it would silently fail in a certain code path.