[48305551] crash if giving wrong handle/password when sign-in

use path instead of controller/action info in link_to option.

Signed-off-by: Henry Chen <hchen@vmware.com>