I was having a problem with using the Login block form on the home page. Error messages related to the login (e.g. "Password incorrect.", etc.) were not getting dispalyed when the login failed. They would show up only after reloading the page again.
In my template, I had this: