Auto-login bug fixed

Hardcoded data was still present, replaced by Cookie-data now.