Cookie-based Authentication

- Fix registration check chain