One handy trick I've found is that when you're visiting a Drupal page and you notice that you're not logged in, you can simply add
user?destination= into the URL right after the root of your Drupal site and keep the path. This means that
Then when you log in, you're brought back to the page you were viewing with no fuss.
I do this often enough that I decided to make it a bookmarklet.