profile: fixed redirect after user changed his password with log out option checked