Initial implementation, with broken test.
Fix date handling
Merge branch 'ask-for-password'
Merge branch 'ask-for-password'