fix typo.
use passport isAuthenticated to check authentication state.
update package depends: specifiy passport-* version.
let pgrest_getauth raises "logged out" if pgparam is not exists.