Test the 'store_location' behaviour

'store_location' stores the current path in the session, to be used to
return the user to their last location after they've taken a diversion
to login. It is now disabled for Ajax requests.