MacBook Pro 5,1 will only turn on after SMC reset
Have you tried giving the MacBook a PRAM reset? With the firmware password turned off hold down Cmnd+Opt+P+R, turn the computer on and wait for it to restart and you hear the start up chime before you let go.