Support login shell.
Merge pull request #9 from imos/experimental

Support login shell.