POR-2135 Fixed login/logout redirection.

git-svn-id: https://gbif-portal.googlecode.com/svn/portal-drupal7/trunk@2928 3650c4fd-ea0f-e2d6-5ead-89630c913e81