Fixing up tests for login and registration

Having Cukes updated since we are now using devise for authentication.
Also a user factory was created.