Added tests to ensure the invitation gets displayed correctly when
logged in.