simple password value check