Fixing bug where some registraiton updates would cause UnauthorizedExceptions - leading to a redirect loop