Logged in after registering #18

* Added regression test
* Solved it by adding a bang
* Banged my head against the table