Add delay before some forms can be submitted to prevent bot actions
Retain user_id in session when logging with cookies
Fix photo archive paging size
Minor fixes