fixed issue where hide password form would be submitted and break login