Fix indentation, remove trailing/extra space
Fix: Login attempt counter cache was not generated

This allow unlimited login attempts which we should prevent.
The functionality is now reimplemented using events which is much
cleaner.
Fix: pass theme value to CakeEmail
Skip test when run against incorrect cake version