Prevent layout blowing up with no logged in user

This currently causes the failure page to blow up because current_user
is nil.
Add integration test for layout behaviour when signed out
Merge pull request #52 from alphagov/fix_layout_error

Prevent layout blowing up with no logged in user