In order to replace the default Spring security login form I came up with this solution:
The best solution for me is to use the default tag instead. Since typical button styling is not being applied (in my case I am using Primefaces), I set it manually. Here's the whole result:
#{SPRING_SECURITY_LAST_EXCEPTION.message} Login