I have installed the 1.7 demo and it does the same.
In off-line mode, you can log in once to the front-end if lucky, and not again.
It keeps on giving the 404 error.
I tried it on 2 servers
1. PHP, 5.2.13, MySQL 5.0.91
2 PHP, 5.3.8, MySQL 5.1.56