Fixed redirect after logging in to take user back to the store they were previously viewing.