Made password field optional
Merge pull request #355 from stefk/session-type-fix

Made password field optional