Password security improved

Save passwords as salted SHA-512 hash and require some time passing by after
a failed login attempt.
Cache filter results

Improves paging speed and reduces database load.