validate short password