You can try this with copies in your overrides folders and if wrong just delete and the core files will be used and you can start with fresh copies.
In a copy of includes/modules/pages/login/ header_php.php find
Code:
if (sizeof($_SESSION['navigation']->snapshot) > 0) {
// $back = sizeof($_SESSION['navigation']->path)-2;
//if (isset($_SESSION['navigation']->path[$back]['page'])) {
// if (sizeof($_SESSION['navigation']->path)-2 > 0) {
$origin_href = zen_href_link($_SESSION['navigation']->snapshot['page'], zen_array_to_string($_SESSION['navigation']->snapshot['get'], array(zen_session_name())), $_SESSION['navigation']->snapshot['mode']);
// $origin_href = zen_back_link_only(true);
$_SESSION['navigation']->clear_snapshot();
zen_redirect($origin_href);
Replace the red code with
Code:
zen_redirect(zen_href_link(FILENAME_ACCOUNT, '', 'SSL'));
I think that this will net what you want but I have not tested this