Adapting fixtures to the correctly model test and create method login_as for tests