I don't understand one thing.
If you don't trust to vBulletin security login script why do you use this software?
Why do you cut other harmless functions?

You should better search of a vBulletin specialist and ask him if these cutting and repleacing of function scripts are really more secure as the vBulletin software offers.