Fixing register page where Open invitation caused an invalid invite code error.