Login from database working fine with simple spring security form