Added support for view token in login parameter validation.