Improve tests based on code review
Abstract login/logout/current_user functionality into a new service