fix for query with password

hey I wasn't able to query normal passwords (weren't displayed).

here's my fix for this. hope this is also working for you. additionally now one can query for "foo" and foobar will be displayed.


I also modified the a bit.