Add helper for setting as logged in for integration tests