Password-protected page redirecting to frontpage when I enter the password

Turns out it was a problem with my browser blocking HTTP referrers.

Disabling referrer blocking or switching to another browser solves the issue.

(related Trac ticket)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)