make login form redirect to current page refs #7657