refined cookie authentication
Merge branch 'master' of https://github.com/lxylinki/cyan