Performing a login before findObjects and digest

 to work also in "no public crypto" mode.

Replaces pull requrest #4 which got some other stuff committed to it.