Fix examples/inmemory.js

Fixes mcavage/node-ldapjs#138: user can't bind with inmemory example

In addition to fixing the userPassword authentication code, the
authorize function has been changed so any user may search after a
successful bind.
Fix jsstyle errors in examples/inmemory.js