added referer based return url detection and fixed a couple of minor issues with signin page
reverting change to default return url
Merge pull request #1456 from guardian/frj-sigin-fixes

added referer based return url detection and fixed a couple of minor iss...