implement authentication with devise and test

Prefer this to the i_log_in method above.